<template>
	<view class="content">
		<view class="bgc">

		</view>
		<view class="head bor in">
			<view class="image">
				<image class="img1" src="../../static/shop/1595657049599668876.jpg" mode=""></image>
			</view>
			<view class="text">
				<view class="name">
					王阿姨 <text class="age">46岁</text>
				</view>
				<view class="tag">
					<view class="tag-1">
						从业5年
					</view>
					<view class="tag-1">
						专业保障

					</view>
				</view>
				<view class="star">
					<view>四星好评</view>
					<star></star>
				</view>
			</view>
		</view>
		<!-- 近期评价 -->
		<view class="row1 in">
			<view class="title">
				近期评价
			</view>
			<!-- 推荐理由 -->
			<view class="text">
				<view class="txt">
					推荐理由：准时上门,提前联系,服务态度好。大姐做事靠谱,还有佩戴口罩，鞋套，专业工具全有...
					推荐理由：准时上门,提前联系,服务态度好。大姐做事靠谱,还有佩戴口罩，鞋套，专业工具全有...
					<image src="../../static/icon/iconRight.png" mode=""></image>
				</view>
				<view class="row-1">
					<view class="star">
						<star></star>
					</view>
					<view class="">
						推荐8分
					</view>
				</view>
			</view>

		</view>
		<!-- 自我介绍 -->
		<view class="row2 bor in">
			<view class="title">
				自我介绍
			</view>
			<view class="text">
				从事五年，服务水平高，干活快...
			</view>
			<scroll-view scroll-x="true">
				<view class="item" v-for="item in 4" :key='item'>
					<image class="image" src="../../static/shop/1595657049599668876.jpg" mode=""></image>
				</view>
			</scroll-view>
		</view>
		<!-- 技能证书 -->
		<view class="row3 bor in">
			<view class="title">
				技能证书
			</view>
			<view class="text">
				<view>
					·从事五年，服务水平高，干活快...
				</view>
				<view>
					·从事五年，服务水平高，干活快...
				</view>
			</view>

			<scroll-view scroll-x="true">
				<view class="item" v-for="item in 4" :key='item'>
					<image class="image" src="../../static/shop/1595657049599668876.jpg" mode=""></image>
				</view>
			</scroll-view>
		</view>
		<!-- 技能证书 -->
		<view class="row4 bor in">
			<view class="title">
				服务项目
			</view>
		<homeList></homeList>
		</view>
		<view class="btn">
			立刻选择
		</view>
	</view>
</template>

<script>
	import homeList from '../../components/homeList/homeList.vue'

	import star from '../../components/homeStar/homeStar.vue'
	export default {
		components: {
			star,
			homeList
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #F5F5F5;
	}

	.content {}

	.in {
		width: 90%;
		margin: auto;
	}

	.bor {
		box-shadow: 0px 0px 8rpx 0rpx #e2e2e2;
		border: 1px solid rgba(255, 0, 0, 0);
		border-radius: 15rpx;
		background-color: #fff;
	}

	.bgc {
		border-top: 1rpx solid #d3d3d3;
		width: 100%;
		height: 170rpx;
		background-color: #00B7FF;
	}

	.title {
		width: 100%;
		color: rgba(16, 16, 16, 100);
		font-size: 28rpx;
		font-weight: 550;
	}

	.head {
		height: 250rpx;
		margin-top: -170rpx;
		display: flex;

		.image {
			margin: auto;
			width: 40%;
			height: 180rpx;
			position: relative;

			.img1 {
				position: absolute;
				left: 0;
				right: 0;
				margin: auto;
				width: 180rpx;
				height: 180rpx;
				border-radius: 50%;
			}
		}

		.text {
			width: 60%;
			padding: 50rpx 0rpx;

			.name {
				color: rgba(16, 16, 16, 100);
				font-size: 40rpx;
				font-weight: 550;

				.age {
					color: rgba(16, 16, 16, 100);
					font-size: 28rpx;
					font-weight: normal;
					margin-left: 30rpx;
				}
			}

			.tag {
				display: flex;
				margin: 10rpx 0;

				.tag-1 {
					width: 112rpx;
					height: 40rpx;
					line-height: 40rpx;
					border-radius: 10rpx;
					background-color: rgba(255, 149, 0, 81);
					color: rgba(255, 255, 255, 100);
					font-size: 24rpx;
					text-align: center;
					font-family: Arial;
					border: 1px solid rgba(255, 255, 255, 100);
				}

			}

			.star {
				color: rgba(191, 191, 191, 100);
				font-size: 24rpx;
				margin: 20rpx 0;
				display: flex;
				line-height: 35rpx;
			}
		}
	}

	.row1 {
		margin-top: 20rpx;
		padding: 20rpx;

		.text {
			margin-top: 40rpx;
			background-color: rgba(245, 245, 245, 100);
			border-radius: 8rpx;
			color: rgba(102, 102, 102, 100);
			font-size: 28rpx;
			text-align: left;
			font-family: PingFangSC-regular;

			.txt {
				overflow: hidden;
				text-overflow: ellipsis;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				width: 317px;
				height: 40px;
				line-height: 40rpx;
				display: flex;

				image {
					margin-top: 27rpx;
					width: 50rpx;
					height: 25rpx;
					margin-left: 10rpx;
				}
			}

			.row-1 {
				display: flex;
				justify-content: space-between;
				color: #999;
				font-size: 24rpx;
				margin-top: 20rpx;

				.star {}
			}
		}
	}

	.row2 {
		padding: 20rpx;
		height: 320rpx;
		margin-top: 50rpx;
		
		.text {
			margin-top: 20rpx;
			color: rgba(102, 102, 102, 100);
		}

		scroll-view {
			width: 100%;
			white-space: nowrap;
			height: 220rpx;
			margin-top: 20rpx;
		}

		.item {
			display: inline-block;
			margin-right: 20rpx;
			border-radius: 10rpx;

			.image {
				width: 182rpx;
				height: 163rpx;
			}
		}
	}
	.row3 {
		padding: 20rpx;
		margin-top: 50rpx;
		
		.text {
			margin-top: 20rpx;
			color: rgba(102, 102, 102, 100);
		}
	
		scroll-view {
			width: 100%;
			white-space: nowrap;
			height: 163rpx;
			margin-top: 20rpx;
		}
	
		.item {
			display: inline-block;
			margin-right: 20rpx;
			border-radius: 10rpx;
	
			.image {
				width: 182rpx;
				height: 163rpx;
			}
		}
	}
	.row4{
		.title{
			padding: 20rpx;
		}
		margin-top: 50rpx;
	}
	.btn{
		
		width: 500rpx;
		height: 60rpx;
		margin:20rpx auto;
		
		background-color: #FF9500;
		color: #FFFFFF;
		font-size: 28rpx;
		text-align: center;
		line-height: 60rpx;
		border-radius: 10rpx;
	}
</style>
